package net.blank.world.aStar
{
	/**
	 * 邻节点
	 * @author blank
	 */
	public class Link
	{
		/**
		 * 邻节点
		 */
		public var node:Node;
		
		/**
		 * 穿越代价
		 */
		public var cost:int;
		
		/**
		 * 邻节点
		 * @param node
		 * @param cost
		 * 
		 */
		public function Link(node:Node,cost:int){
			this.node=node;
			this.cost=cost;
		}
	}
}